
public class TestRec {
	public static void main(String[] args) {
		Rec jx=new Rec(10,10);
		double zc=jx.ZhouChang();
		System.out.println("周长为："+zc);
		double mj=jx.MianJi();
		System.out.println("面积为："+mj);
	}
}

      
